
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@page import="com.Dao.UserDao"%>
<%@page import="com.Dao.SubDao"%>
<%@page import="com.pojo.User"%>

	<%
	request.setCharacterEncoding("UTF-8");
	String SId = request.getParameter("SId");
	//判断是否已经存在此分类
		SubDao SubDao =new SubDao();
	//3、创建UserDao对象
       Integer x = SubDao.UpdateDelete(SId);
	
       String address =(String)session.getAttribute("address");
       response.sendRedirect("../"+address);
	
	%>